package com.ruoyi.system.service.impl.smy;

import com.ruoyi.common.core.domain.smy.MallGoodsParams;
import com.ruoyi.system.mapper.smy.MallGoodsParamsMapper;
import com.ruoyi.system.service.smy.IMallGoodsParamsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MallGoodsParamsServiceImpl implements IMallGoodsParamsService {
	@Resource
	private MallGoodsParamsMapper mallGoodsParamsMapper;

	@Override
	public MallGoodsParams selectMallGoodsParamsById(Long id) {
		return mallGoodsParamsMapper.selectMallGoodsParamsById(id);
	}

	@Override
	public List<MallGoodsParams> selectMallGoodsParamsList(MallGoodsParams mallGoodsParams) {
		return mallGoodsParamsMapper.selectMallGoodsParamsList(mallGoodsParams);
	}

	@Override
	public int insertMallGoodsParams(MallGoodsParams mallGoodsParams) {
		return mallGoodsParamsMapper.insertMallGoodsParams(mallGoodsParams);
	}

	@Override
	public int updateMallGoodsParams(MallGoodsParams mallGoodsParams) {
		return mallGoodsParamsMapper.updateMallGoodsParams(mallGoodsParams);
	}

	@Override
	public int deleteMallGoodsParamsByIds(Long[] ids) {
		return mallGoodsParamsMapper.deleteMallGoodsParamsByIds(ids);
	}

	@Override
	public int deleteMallGoodsParamsById(Long id) {
		return mallGoodsParamsMapper.deleteMallGoodsParamsById(id);
	}
}
